package com.megalith.service;

import com.megalith.dto.ManagerVerifyDTO;
import com.megalith.dto.StaffApplyDTO;
import com.megalith.dto.StaffLeaveTicketDTO;
import com.megalith.vo.Result;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2022/7/17
 * @Version 1.0
 */
public interface ListenerTaskService {

    /**
    *@Description 启动带监听器的流程
    *@Author lfp
    *@Date 2022/7/17
    *@param applyDTO
    *@Return 
    */
    String startListenerProcess(StaffApplyDTO applyDTO);

    /**
    *@Description 员工填写请假单
    *@Author lfp
    *@Date 2022/7/17
    *@param leaveTicketDTO
    *@Return 
    */
    Result fillListenerTaskTicket(StaffLeaveTicketDTO leaveTicketDTO);

    /**
    *@Description 经理处理个人任务
    *@Author lfp
    *@Date 2022/7/17
    *@param verifyDTO
    *@Return 
    */
    Result completeManagerTask(ManagerVerifyDTO verifyDTO);
}
